### CONTrol...

This subsystem provides device-specific commands to control hardware settings related to the rear panel connectors.

Command tree: CONTrol:AUXiliary:C[:DATA]

#### CONTrol:AUXiliary:C[:DATA] <numeric_value>

Sets or queries a channel-dependent four-bit decimal value to control four independent output signals at the USER CONTROL
connector (applied to pins 8, 9, 10, 11). The output signals are 3.3 V TTL signals which can be used to differentiate between up to 16 independent analyzer states. CONTrol:AUXiliary:C[:DATA] itself does not change the analyzer state.

Channel bit definition and activation

The channel bits have the following properties:

- After a *RST of the analyzer all channel bits (including the value for the active, sweeping channel no. 1) are set to zero; no signal is applied to pins 8 to 11 of the USER CONTROL connector.

- The value defined with CONTrol:AUXiliary:C[:DATA] is assigned to the active channel (INSTrument:NSELect <Ch>).

- The signals at the USER CONTROL connector reflect the channel bits of the measuring channel, i.e. the channel for which the analyzer performs a sweep. This channel is not necessarily identical with the active channel.

- The signals are switched on as soon as a measurement (sweep) in a channel with non-zero channel bits is started. They are changed whenever a channel with different channel bits becomes the measuring channel.

- The signals at the USER CONTROL connector are maintained after the analyzer enters the hold state. This happens if all channels use single sweep mode and if all sweep sequences have been terminated.

A simple application consists of selecting the channel numbers as parameters for CONTrol:AUXiliary:C[:DATA] and monitor the activity of up to 16 different channels at the USER CONTROL connector; see example below. You can also use the USER CONTROL output signals as channel-dependent trigger signals for external devices. Use OUTPut<Ch>:UPORt[:VALue]
to transfer the four bit value for an arbitrary channel <Ch> in binary representation.

<numeric_value> | Decimal value .
Range [def. unit] | 0 to 15 [–] The transferred values correspond to the following states of the USER CONTROL connector: 0 – no signal at any of the four pins 8, 9, 10, 11 1 – output signal at pin 8 2 – output signal at pin 9 3 – output signal at pin 8 and 9 ... 15 – output signal at pin 8, 9, 10 and 11
*RST value | 0 (no signal)
SCPI, Command Types | Confirmed, command or query
Example: | *RST; CONT:AUX:C 1 Assign the channel bit value 1 to the active channel no. 1. The analyzer performs a measurement in channel no. 1, therefore the output signal at pin 8 is switched on. CONF:CHAN2:STAT ON; CONT:AUX:C 2 Create channel no. 2, causing it to become the active channel, and assign the channel bit value 2. The analyzer performs no measurement in channel no. 2, therefore the output signal is not changed. CALC2:PAR:SDEF 'Ch2Tr1', 'S11' Create a trace named 'Ch2Tr1' and assign it to channel 2. While the analyzer measures in channel 2, the output signal changes from pin 8 to pin 9.